# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=modem-manager-gui
pkgver=0.0.20
pkgrel=0
pkgdesc="GUI front-end for ModemManager / Wader / oFono"
url="https://linuxonly.ru/page/modem-manager-gui"
arch="all"
license="GPL-3.0-or-later"
makedepends="po4a itstool gdbm-dev gtk+3.0-dev gtkspell3-dev libnotify-dev"
options="!check" # no test suite
subpackages="$pkgname-doc $pkgname-lang"
source="
	https://download.tuxfamily.org/gsf/source/modem-manager-gui-$pkgver.tar.gz
	musl-compatibility.patch
	"
builddir="$srcdir/$pkgname"

build() {
	# Custom configure script
	# It does not include GNU Autoconf's build/host similar options
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
6802415e14b758642e8827c70ad92cf6ce5ffe0ed80c55c4765ef66b15a8047ca8a510eefcc7f040fcd59eb7890ce7ed94731d6f8abd110280c8a997dde977d1  modem-manager-gui-0.0.20.tar.gz
9bb107fe3084eb7e533b8c0eecd83612ef7da1bff2b8113fe4953bc85c4f699799a0a75afbdff36750e994f32d99825b044d3ea1c5d55efb4f1c295a26bd0aea  musl-compatibility.patch
"
